package com.gouying.web.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gouying.web.entity.SpuInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * spu信息
 * 
 * @author ly
 * @date 2019-10-01 21:08:49
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {

    /**
     * 修改商品状态
     * @param spuId 商品ID
     * @param code 状态码
     */
    //修改商品状态
    void updateSpuStatus(@Param("spuId") Long spuId, @Param("code") int code);
}
